/**
 * 
 */
package com.ctn.task.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Zale
 *
 */
public class TaskResult implements Serializable{
	
	private static final long serialVersionUID = 8434095490292109113L;
	private String message;
	private Date endTime;
	private Date StartTime;
	private TaskStatus status;
	
	public TaskStatus getStatus() {
		return status;
	}
	public void setStatus(TaskStatus status) {
		this.status = status;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getStartTime() {
		return StartTime;
	}
	public void setStartTime(Date startTime) {
		StartTime = startTime;
	}
	
	
	public static enum TaskStatus {
		WAITING,
		PROCESSING,
		COMPLETE,
		ERROR
	}
	
}
